<?php

class Gen_user_Modele extends Modele
{
	private $_uid;
	private $_login;
	private $_mdp;
	private $_nom;
	private $_prenom;
	private $_mail;
	private $_session_key;
	
	static public function getRef($uid, $login, $mdp, $nom, $prenom, $mail, $session_key)
	{
		return new Gen_user_Modele($uid, $login, $mdp, $nom, $prenom, $mail, $session_key);
	}	
	
	
	public function Gen_user_Modele($uid, $login, $mdp, $nom, $prenom, $mail, $session_key)
	{
		parent::Modele("gen_user","uid");
		$this->_uid = $uid;
		$this->_login = $login;
		$this->_mdp = $mdp;
		$this->_nom = $nom;
		$this->_prenom = $prenom;
		$this->_mail = $mail;
		$this->_session_key = $session_key;
	}
	
	public function get_uid()
	{
		return $this->_uid;
	}
	
	public function get_login()
	{
		return $this->_login;
	}
	
	public function get_mdp()
	{
		return $this->_mdp;
	}
	
	public function get_nom()
	{
		return $this->_nom;
	}
	
	public function get_prenom()
	{
		return $this->_prenom;
	}
	
	public function get_mail()
	{
		return $this->_mail;
	}
	
	public function get_session_key()
	{
		return $this->_session_key;
	}
	
}

?>
